home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / comm / allscrpt.zip / NEWGENIE.SCR < prev    next >
Text File  |  1987-10-17  |  2KB  |  50 lines

  1. .YOU **MUST** USE YOUR EDITOR OR WORD PROCESSOR TO:
  2. .  [1] Include YOUR account# and password
  3. .  [2] Optionally remove the period in front of TURNON CAPTURE
  4.  
  5. .NOTE: Tie this linked script to your QMODEM phone directory entry for
  6. .GEnie. Your communication parameters should be 7-E-1. If you are using
  7. .QMODEM 2.0A or higher (3/1/86), QMODEM will automatically switch to 8-N-1
  8. .(and back) for XMODEM downloads.
  9.  
  10. .Set WAITFOR timer to 60 seconds (300 baud may need longer;
  11. .on failure (i.e. expected prompt not received), goto label FAILED:
  12. TIMEOUT 60 FAILED
  13.  
  14. NOTE ** 3 bells ring when GEnie is ready for your command **
  15.  
  16. .Provide your own echo, use xon/xoff, and turn off linefeeds.
  17. TURNON XON/XOFF
  18. TURNOFF LINEFEED ECHO
  19.  
  20. .Send the three H's with pauses and CR to establish 'handshake' with GENIE
  21. SEND '~H~H~H'
  22.  
  23. .Wait for the first GENIE prompt
  24. WAITFOR 'U#='
  25.  
  26. .[1] Pause, then send Your Account# & Password.
  27. .Be sure to use 'X' as the (new) first letter of your account#
  28. SEND '~XJM12345,PASSWORD{'
  29.  
  30. .[2] NOTE: For automatic CAPTURE (text only, not downloads), specify a
  31. .capture file in QINSTALL, then REMOVE the period in front of the next line.
  32. .TURNON CAPTURE
  33.  
  34. .Wait for the main GEnie prompt
  35. WAITFOR '<H>elp?'
  36.  
  37. .SUCCESS! Beep 3x, discontinue script, return control to your keyboard:
  38. BEEP 400
  39. BEEP 400
  40. BEEP 400
  41. RETURN
  42.  
  43. .In case of failure (TIMEOUT)...
  44. FAILED:
  45. NOTE ** Logon to GEnie failed -- EDIT SCRIPT OR TRY LATER **
  46. BEEP 400
  47. BEEP 200
  48. HANGUP
  49. RETURN
  50.